#ifndef __KALMAN_CAL_H
#define __KALMAN_CAL_H	 
#include "math.h"
		 				    

void Angle_Cal();
void Kalman_Cal_Pitch(float acc,float gyro);
void Kalman_Cal_Roll(float acc,float gyro);
	

extern short aacx,aacy,aacz;
extern short gyrox,gyroy,gyroz;
extern short temperature;
extern float accel_x;
extern float accel_y;
extern float accel_z;
extern float gyro_x;
extern float gyro_y;
extern float gyro_z;

extern float pitch_raw;
extern float pitch_kalman;
extern float roll_raw;
extern float roll_kalman;

								
#endif
